Form view definition

Overview

Next Design allows you to define a view that allows you to view and edit model details like a traditional design document by placing model fields on a form. You can place all the fields you want to view and edit in one form, or you can define multiple forms and place only the fields you need for your purposes.

In addition to fields that hold values, fields that hold related models (hereinafter referred to as related fields) can be placed on the form. Related fields placed on the form can be viewed and edited in a list format with a serial number or grid format.

When you have many fields on a form, you can group them together to create a semantic cohesiveness, or to have each group fold.

The following describes the method of defining a form view in the following order.

  • Place existing field
  • Place related models in list format
  • Arrange related models in grid format
  • Change the display format of related models
  • Change field order
  • Hide placed fields
  • Group fields

Place existing field

Place existing field

To place an existing field defined on the entity on the form:

Place existing field

Operating procedure

  1. Click to select a field that has already been placed on the form to specify where the field will be placed.
  2. Do one of the following to open the New Control dialog.
    • From the ribbon, click Form> Form> Add Exist Fields.
    • Click Add Exiting Field from the context menu.
  3. In the New Control dialog, select the field you want to place from the Filelds choices.
  4. Next, select the UI format for editing from the [Form Element] selection.
  5. Click the [OK] button in the dialog to place the selected field on the form and display the field name as the title.

If the form does not have any fields, do the following:

Other operating procedures

  1. Click the model name at the top of the form to select it.
  2. Click Profile> Form> Add Exist Fields on the ribbon to open the New Control dialog.
  3. Select and place the fields as in the previous steps.

Change the display format of placed fields

To make the form compact by changing the title display direction of the field placed on the form to the left, follow the steps below.

Change the title display direction of the field

Operating procedure

  1. To change the orientation of the title, do one of the following:
    • From the ribbon, click Form> Title> Title Orientation and select Left.
    • On the Form Element tab of the Inspector, select Title> Label Orientation> Left.

To change the fields placed on the form into a two-column table with titles and values, follow the steps below.

Change fields to tabular format

Operating procedure

  1. Change the title display direction to left as in the previous procedure.
  2. In the Form Element tab of the Inspector, check the Title> Label Orientation> Surround an element with a line. check box.

Place related model in list format

To place the model associated with an entity in a list with a sequential number on the form:

Place related model in list format

Operating procedure

  1. As with Place Existing Field, click the field already placed on the form to select where to place the associated model.
  2. Do one of the following to open the New Control dialog.
    • From the ribbon, click Form> Form> Add Exist Fields.
    • Click Add Exiting Field from the context menu.
  3. In the New Control dialog, select the field holding the associated model from the Filelds choice.
  4. Continuing, select List from the Form Element choices.
  5. Click the [OK] button in the dialog, the name of the selected field will be displayed as a title, and the related models will be placed with serial numbers under it.

Place existing field of related model

For each related model displayed in the list format, to add additional existing fields defined in that related model, follow the procedure below, similar to "Place existing field" above. ..

Place existing fields in related model

Operating procedure

  1. Click the field of the related model where the field is to be placed or the displayed related model, and specify the placement position.
  2. Do one of the following to open the New Control dialog.
    • From the ribbon, click Form> Form> Add Exist Fields.
    • Click Add Exiting Field from the context menu.
  3. After that, the existing field of the related model is placed on the form by the same operation procedure as "Place existing field".

Layout related model hierarchically

From the related models displayed in the list format, to follow the relationships between the models and arrange the related models hierarchically, perform the following steps as described in "Place related models on form" above. I will.

Place related model hierarchically

Operating procedure

  1. To specify the placement position, click the relevant model already placed on the form or click its field to select it.
  2. Do one of the following to open the New Control dialog.
    • From the ribbon, click Form> Form> Add Exist Fields.
    • Click Add Exiting Field from the context menu.
  3. After that, by the same operation procedure as "Place related model on form", the model related to the related model already placed on the form is placed under the related model with a serial number.

Place related model in grid format

To place the model associated with an entity on a form in a grid format, do the following:

Place related model in grid format

Operating procedure

  1. In the same way as "Place related model in list form", click and select the field already placed on the form to specify the placement position of the related model.
  2. Do one of the following to open the New Control dialog.
    • From the ribbon, click Form> Form> Add Exist Fields.
    • Click Add Exiting Field from the context menu.
  3. In the New Control dialog, select the field holding the associated model from the Filelds choice.
  4. Continuing, select Grid from the Form Element choices.
  5. Click the [OK] button in the dialog and the name of the selected field will be displayed as a title, and the related models will be placed in a grid under it.

Change the display column of the grid

To change the visible columns of a grid placed on a form, do the following:

Change grid column configuration

Operating procedure

  1. Do one of the following to open the Add New Column dialog.
    • Select any cell on the grid and click Form> Grid> Add Exist Field Column from the ribbon.
    • Right-click the header row of the grid and click Add Column with Existing Field from the context menu.
  2. In the Add New Column dialog, select the field you want to add as a column from the Filelds choices, and select the UI format when editing from the Form Element choices.
  3. Click the [OK] button in the dialog to add the selected field to the right edge of the grid column.
  4. To change the order of the grid columns, do one of the following:
    • Select any cell in the column you want to move, and click Form> Grid> Move Column Left> Move Column Right from the ribbon.
    • Move the column position by dragging and dropping the column heading of the grid.
  5. To remove columns from the grid and hide them, do one of the following:
    • Select any cell in the column you want to delete and from the ribbon click Form> Grid> Delete Column.
    • Right-click the column heading in the grid and click Delete from the context menu.

Note

  • To change the column structure of the grid, at least one related model must exist.
  • If the related model is empty, add a temporary model and then change the column structure.

Change the default column width

To change the default column width for each column of the grid placed on the form, or to reset the temporarily changed column width to the default value:

Change default column width

Operating procedure

  1. Select any cell in the grid column for which you want to change the default column width.
  2. Drag and drop the grid column heading borders to adjust the column width, then click Form> Grid> Set Default Column Width from the ribbon.
  3. Click to save the column width in the view definition and display it with the default column width when you reopen the project.
  4. To temporarily change the column width and then restore the default column width, select one of the cells in the grid column for which you want to restore the column width and from the ribbon select Form> Grid> Reset Column. Click Width.

Note

  • The right column of the grid grows and shrinks according to the width of the editor view, so you cannot change the default column width.

Change the display format of related model

To change the display format of the related model placed on the form:

Change display format of related model

Operating procedure

  1. Click to select the related model whose display format you want to change.
  2. From the ribbon, click Form> Control> Kind and select Grid or List.

Change field order

Change field order

To change the order of the fields that are placed on the form, do the following:

Change field order

Operating procedure

  1. Click to select the title of the field whose order you want to change.
  2. Click Form> Place> Move Up, Move Down from the ribbon to swap the order.

Note

  • The order of related models displayed with serial numbers can be changed by selecting the model and dragging and dropping.

Hide placed fields

Hide placed fields

To remove a field that has been placed on the form and hide it from the form, follow these steps:

Hide placed fields

Operating procedure

  1. Click the field located on the form to select it.
  2. Do one of the following:
    • Click Form> Form> Delete from the ribbon.
    • Click Hide this Field from the context menu.

Group fields

Group fields

To title and group multiple fields located on a form, do the following:

Group fields

Operating procedure

  1. Hold down the Ctrl key and select the fields you want to group by clicking them.
  2. From the ribbon, click Form> Group> Grouping.
  3. In the [Grouping] dialog, enter the [Display Name] and [Group Name] and click the [OK] button.
  4. The group title is added to the form and the selected fields are listed under the group. Click the left edge of the group title to fold or expand each group.

Note

  • To group multiple fields, they must be adjacent.
  • If they are not adjacent, reorder them so that they are adjacent, as described in "Reordering Fields" above.